Static checking by GCC 4.8.0.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 May 2013 05:34:01 +0000 (22:34 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 May 2013 05:34:01 +0000 (22:34 -0700)
commit6ae7abe13105acd39e14a00803b14bcae875e2ce
tree6781a4cda962c410bf4c1e2dd93a5af282f59854
parent84427f52e6ea1d5bda5deb7c58d8710528fae4e9
Static checking by GCC 4.8.0.

* xfns.c (x_get_net_workarea, struct MonitorInfo, free_monitors)
(x_get_monitor_for_frame, x_make_monitor_attribute_list)
(x_get_monitor_attributes_fallback)
(x_get_monitor_attributes_xinerama)
(x_get_monitor_attributes_xrandr, x_get_monitor_attributes):
Define only if USE_GTK.
(free_monitors): Define only if HAVE_XINERAMA || HAVE_XRANDR.
(x_get_monitor_attributes_fallback): Omit unused locals.
(x_get_monitor_attributes_xinerama, Fx_display_monitor_attributes_list):
Use double, not float, to avoid mixed-mode floating point arithmetic.
src/ChangeLog
src/xfns.c